package com.imooc.articles_mongodb_project.service;

import com.imooc.articles_mongodb_project.common.Result;
import com.imooc.articles_mongodb_project.dto.CommentDTO;
import com.imooc.articles_mongodb_project.entity.Comments;

import java.util.List;

public interface ICommentsService {
    Result getAll();

    Result save(CommentDTO commentDTO);
    Result getAllArticlesComments(String id);
    Result getReplyComments(String id);
    Result removeComments(String id);
}
